### 粗略分支已经预训练

### 精细分支训练
# bash ./tools/dist_train.sh configs/patchrefiner_zoedepth/pr_u4k.py 3 --work-dir ./work_dir/zoedepth/u4k --log-name pr --tag pr


### 推理指令
# python ./tools/test.py configs/patchrefiner_zoedepth/pr_u4k.py --ckp-path work_dir/zoedepth/u4k/pr/checkpoint_36.pth --cai-mode r32 --cfg-option general_dataloader.dataset.rgb_image_dir='./examples/' --save --work-dir ./work_dir/predictions --test-type general --image-raw-shape 1080 1920 --patch-split-num 2 2


# python -m debugpy --listen 192.168.0.22:5678 --wait-for-client ./tools/test.py \
#     configs/patchrefiner_zoedepth/pr_u4k.py \
#     --ckp-path work_dir/zoedepth/u4k/pr/checkpoint_36.pth \
#     --cai-mode r32 \
#     --cfg-option general_dataloader.dataset.rgb_image_dir='./examples/' \
#     --save \
#     --work-dir ./work_dir/predictions \
#     --test-type general \
#     --image-raw-shape 1080 1920 \
#     --patch-split-num 2 2
    
### 训练指令

# bash ./tools/dist_train.sh configs/patchrefiner_zoedepth/pr_u4k.py 4 --work-dir ./work_dir/zoedepth/u4k --log-name pr --tag pr


### 测试指令

bash ./tools/dist_test.sh configs/patchrefiner_zoedepth/pr_u4k.py 3 --ckp-path work_dir/zoedepth/u4k/pr/checkpoint_36.pth --cai-mode m1 --work-dir work_dir/zoedepth/u4k/pr/vis --save